package com.antoco.controlcenter.base;

import android.app.Application;
import android.content.Context;


public class BaseApplication extends Application {
    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        LogToFile.init();
    }

    // 调用
    public static Context getContext() {
        return context;
    }
}

